#ifndef REPAIRENTITY_H
#define REPAIRENTITY_H

#include <QString>
#include <QList>

class RepairEntity
{
public:
    RepairEntity();

    void setRepairId(int);
    int getRepairId();
    void setRepairCode(QString);
    QString getRepairCode();
    void setRepairName(QString);
    QString getRepairName();
    void setRepairDesc(QString);
    QString getRepairDesc();
    void setSpList(QList<int>&);
    QList<int>& getSpList();
    void setItemList(QList<int>&);
    QList<int>& getItemList();
    void setDeleted(int);
    int getDeleted();

private:
    int repair_id;
    QString repair_code;
    QString repair_name;
    QString repair_desc;
    QList<int> spList;
    QList<int> itemList;
    int deleted;
};

#endif // REPAIRENTITY_H
